﻿<%@ Page Language="C#" MasterPageFile="~/JOINT/MstPage_JOINT.master" AutoEventWireup="true" 
    CodeFile="frmJ_TraineeResumeAInput.aspx.cs" Inherits="JOINT_frmJ_TraineeResumeAInput" 
    Title="Untitled Page" ValidateRequest="false" Culture="ja-JP" uiCulture="ja" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
来社後　情報確認・修正
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    
    <script src="../js/jquery.min.js" type="text/javascript" language="javascript"></script>
    <script src="../js/Validation.js" type="text/javascript"></script>

   <%-- <style rel="stylesheet" type="text/css">
        .inputBox
        {
            background: url('../Images/ten.jpg') no-repeat;
        }
        .inputBox1
        {
            background: url('../Images/ho.jpg') no-repeat;
        }
    </style>--%>
    
    <script type='text/javascript' language='javascript'>

        $(document).ready(function() {

//            $('#<% =txt_姓.ClientID %>').blur(function(e) {
//                var temp = $('#<% =txt_姓.ClientID %>').val();
//                if (temp == '') {
//                    $('#<% =txt_姓.ClientID %>').addClass("inputBox1");
//                }
//            });

//            $('#<% =txt_姓.ClientID %>').focus(function(e) {
//                $('#<% =txt_姓.ClientID %>').removeClass("inputBox1");
//            });

//            $('#<% =txt_名.ClientID %>').blur(function(e) {
//                var temp = $('#<% =txt_名.ClientID %>').val();
//                if (temp == '') {
//                    $('#<% =txt_名.ClientID %>').addClass("inputBox");
//                }
//            });

//            $('#<% =txt_名.ClientID %>').focus(function(e) {
//                $('#<% =txt_名.ClientID %>').removeClass("inputBox");
//            });
//            if ($('#<% =txt_名.ClientID %>').val() != "") {
//                $('#<% =txt_名.ClientID %>').removeClass("inputBox");
//            }
            
            // Cho su kien enter
            registerEnterEvent("enter", "<%= btn学歴情報登録.ClientID %>", 12);
            registerControlToValidation("validation");
            formatDate("css_text_calender", "/");
        });

        function checkdate(oSrc, args) {
            args.IsValid = checkYearOld(args.Value, getNowDate(new Date()), 0, "<");
        }

        function CheckDateWith生年月日(oSrc, args) {
            var 生年月日 = document.getElementById("ctl00_ContentPlaceHolder1_txt_生年月日").value;
            args.IsValid = checkYearOld(生年月日, args.Value, 15, "<");
        }
    </script>
    
    
    
    <div class="maindiv1">
        <div>&nbsp;</div>
        
        <div class="detail-admin-row">
            <span class="detail-admin-label">氏名 :</span>
            <asp:TextBox 
                CssClass="textbox width2 enter validation"
                ID="txt_姓" 
                runat="server" 
                ValidationGroup="detailForm" 
                style="ime-mode:active"
                MaxLength="100"
                CausesValidation="True"
                >
            </asp:TextBox>
            
            <asp:RequiredFieldValidator 
                runat="server" 
                ID="RFV_姓"
                ControlToValidate="txt_姓"
                Display="None"
                SetFocusOnError ="false"
                ErrorMessage="" >
            </asp:RequiredFieldValidator> 
        
            <ajaxToolkit:ValidatorCalloutExtender 
                runat="Server" 
                ID="VCE_姓"
                TargetControlID="RFV_姓" 
                HighlightCssClass = "invalid"
                Width="240px"
                CssClass="CustomValidatorCalloutStyle" 
                WarningIconImageUrl="../Images/warning.png" >
            </ajaxToolkit:ValidatorCalloutExtender> 
            
            <asp:TextBox 
                CssClass="textbox width2 enter validation" 
                ID="txt_名" 
                runat="server" 
                MaxLength="100"
                style="ime-mode:active"
                ValidationGroup="detailForm">
            </asp:TextBox>
            
             <asp:RequiredFieldValidator 
                runat="server" 
                ID="RFV_名"
                ControlToValidate="txt_名"
                Display="None"
                SetFocusOnError ="false"
                ErrorMessage="" >
            </asp:RequiredFieldValidator> 
        
            <ajaxToolkit:ValidatorCalloutExtender 
                runat="Server" 
                ID="VCE_名"
                TargetControlID="RFV_名" 
                Width="240px"
                HighlightCssClass = "invalid"
                CssClass="CustomValidatorCalloutStyle" 
                WarningIconImageUrl="../Images/warning.png" >
            </ajaxToolkit:ValidatorCalloutExtender> 
            
            <span class="required-field"> *</span>
        </div>
        
        <div class="detail-admin-row">
            <span class="detail-admin-label">性別 :</span>
            <asp:DropDownList 
                ID="ddl_性別" 
                runat="server" 
                CssClass="dropdownlist width2 enter validation">
                <asp:ListItem Value="-1" Selected="True">[選択]</asp:ListItem>
                <asp:ListItem Value="1">女</asp:ListItem>
                <asp:ListItem Value="0">男</asp:ListItem>
            </asp:DropDownList>
            
            <asp:RequiredFieldValidator 
                runat="server" 
                ID="RFV_ddl_性別"
                ControlToValidate="ddl_性別"
                Display="None"
                InitialValue="-1"
                SetFocusOnError ="false"
                ErrorMessage="" >
            </asp:RequiredFieldValidator> 
            
            <ajaxToolkit:ValidatorCalloutExtender 
                runat="Server" 
                ID="VCE_ddl_性別"
                TargetControlID="RFV_ddl_性別" 
                HighlightCssClass = "invalid"
                Width="240px"
                CssClass="CustomValidatorCalloutStyle" 
                WarningIconImageUrl="../Images/warning.png" >
            </ajaxToolkit:ValidatorCalloutExtender> 
            
            <span class="required-field"> *</span>
        </div>
        
        <div class="detail-admin-row">
            <span class="detail-admin-label">生年月日 :</span>
            <asp:TextBox
                id="txt_生年月日"
                style="ime-mode:disabled"
                CausesValidation ="false" 
                CssClass="textbox width_calendar enter validation css_text_calender"
                runat="server">
            </asp:TextBox>
           
            <asp:ImageButton 
                ID="imgbtn_生年月日" 
                runat="server"
                Height="19px"  
                CssClass="Font_textbox"
                ImageUrl="~/Images/calendar.jpg" 
                ValidationGroup ="detailsForm">
            </asp:ImageButton>
            
            <ajaxToolkit:CalendarExtender 
                ID="CE_生年月日" 
                runat="server" 
                PopupButtonID="imgbtn_生年月日" 
                TargetControlID="txt_生年月日" 
                Format="yyyy/MM/dd"> 
            </ajaxToolkit:CalendarExtender>
            
            <asp:RequiredFieldValidator 
                runat="server" 
                ID="RFV_生年月日"
                ControlToValidate="txt_生年月日"
                Display="None"
                SetFocusOnError ="false"
                ErrorMessage="">
            </asp:RequiredFieldValidator>
            
            <ajaxToolkit:ValidatorCalloutExtender 
                runat="Server" 
                ID="VCE_生年月日1"
                TargetControlID="RFV_生年月日" 
                HighlightCssClass = "invalid"
                Width="240px"
                CssClass="CustomValidatorCalloutStyle" 
                WarningIconImageUrl="../Images/warning.png" >
            </ajaxToolkit:ValidatorCalloutExtender>
            
            <asp:CustomValidator 
                ID= "CV_生年月日" 
                runat="server" 
                ErrorMessage="" 
                ControlToValidate="txt_生年月日"  
                ClientValidationFunction="isDate" 
                Display ="None" 
                SetFocusOnError ="false"> 
            </asp:CustomValidator>
             
             <ajaxToolkit:ValidatorCalloutExtender 
                runat="Server" 
                ID="VCE_生年月日2"
                TargetControlID="CV_生年月日" 
                HighlightCssClass = "invalid"
                Width="225px"
                CssClass="CustomValidatorCalloutStyle" 
                WarningIconImageUrl="../Images/warning.png" >
            </ajaxToolkit:ValidatorCalloutExtender>
            <span class="required-field"> *</span>
        </div>
        
        <div class="detail-admin-row">
            <span class="detail-admin-label">国籍 :</span>
            <asp:DropDownList 
                ID="ddl_国籍" 
                runat="server" 
                CssClass="dropdownlist width2 enter validation">
                <asp:ListItem>[選択]</asp:ListItem>
            </asp:DropDownList>
            
              <asp:RequiredFieldValidator 
                runat="server" 
                ID="RFV_ddl_国籍"
                ControlToValidate="ddl_国籍"
                Display="None"
                InitialValue="-1"
                SetFocusOnError ="false"
                ErrorMessage="" >
            </asp:RequiredFieldValidator> 
            
            <ajaxToolkit:ValidatorCalloutExtender 
                runat="Server" 
                ID="VCE_国籍"
                TargetControlID="RFV_ddl_国籍" 
                HighlightCssClass = "invalid"
                Width="240px"
                CssClass="CustomValidatorCalloutStyle" 
                WarningIconImageUrl="../Images/warning.png" >
            </ajaxToolkit:ValidatorCalloutExtender> 
            <span class="required-field"> *</span>
        </div>
        
        <div class="detail-admin-row">
            <span class="detail-admin-label">出生地 :</span>
            <asp:TextBox 
                CssClass="textbox width2 enter validation" 
                ID="txt_出生地" 
                style="ime-mode:active"
                MaxLength="500"
                runat="server" 
                ValidationGroup="detailForm" 
                CausesValidation="True" >
            </asp:TextBox>
            
             <asp:RequiredFieldValidator 
                runat="server" 
                ID="RFV_出生地"
                ControlToValidate="txt_出生地"
                Display="None"
                SetFocusOnError ="false"
                ErrorMessage="" >
            </asp:RequiredFieldValidator> 
        
            <ajaxToolkit:ValidatorCalloutExtender 
                runat="Server" 
                ID="VCE_出生地"
                TargetControlID="RFV_出生地" 
                HighlightCssClass = "invalid"
                Width="240px"
                CssClass="CustomValidatorCalloutStyle" 
                WarningIconImageUrl="../Images/warning.png" >
            </ajaxToolkit:ValidatorCalloutExtender> 
            <span class="required-field"> *</span>
        </div>
        
        <div class="detail-admin-row">
            <span class="detail-admin-label">ID番号 :</span>
            <asp:TextBox 
                style="text-align:right;ime-mode:disabled"
                CssClass="textbox width2 enter validation"
                ID="txt_ID番号" 
                MaxLength="50"
                onpaste="return false;"
                runat="server" 
                ValidationGroup="detailForm" 
                onkeypress="return InputNumberKeys(this, event)"
                CausesValidation="True">
            </asp:TextBox>
            
             <asp:RequiredFieldValidator 
                runat="server" 
                ID="RFV_ID番号"
                ControlToValidate="txt_ID番号"
                Display="None"
                SetFocusOnError ="false"
                ErrorMessage="" >
            </asp:RequiredFieldValidator> 
        
            <ajaxToolkit:ValidatorCalloutExtender 
                runat="Server" 
                ID="VCE_ID番号"
                TargetControlID="RFV_ID番号" 
                HighlightCssClass = "invalid"
                Width="240px"
                CssClass="CustomValidatorCalloutStyle" 
                WarningIconImageUrl="../Images/warning.png" >
            </ajaxToolkit:ValidatorCalloutExtender> 
            <span class="required-field"> *</span>
        </div>
        
        <div class="detail-admin-row">
            <span class="detail-admin-label">ＩＤ番号発行日 :</span>
            <asp:TextBox
                id="txt_ＩＤ番号発行日"
                CausesValidation ="false" 
                style="ime-mode:disabled"
                CssClass="textbox width_calendar enter validation css_text_calender"
                runat="server">
            </asp:TextBox>
            
            <asp:ImageButton 
                ID="imgbtn_ＩＤ番号発行日" 
                runat="server" 
                Height="19px"  
                CssClass="Font_textbox"
                ImageUrl="~/Images/calendar.jpg" 
                ValidationGroup ="detailsForm">
            </asp:ImageButton>
            
            <ajaxToolkit:CalendarExtender 
                ID="CE_ＩＤ番号発行日" 
                runat="server" 
                PopupButtonID="imgbtn_ＩＤ番号発行日" 
                TargetControlID="txt_ＩＤ番号発行日" 
                Format="yyyy/MM/dd"> 
            </ajaxToolkit:CalendarExtender>
            
            <asp:RequiredFieldValidator 
                runat="server" 
                ID="RFV_ＩＤ番号発行日"
                ControlToValidate="txt_ＩＤ番号発行日"
                Display="None"
                SetFocusOnError ="false"
                ErrorMessage="">
            </asp:RequiredFieldValidator>
            
            <ajaxToolkit:ValidatorCalloutExtender 
                runat="Server" 
                ID="VCE_ＩＤ番号発行日1"
                TargetControlID="RFV_ＩＤ番号発行日" 
                HighlightCssClass = "invalid"
                Width="240px"
                CssClass="CustomValidatorCalloutStyle" 
                WarningIconImageUrl="../Images/warning.png" >
            </ajaxToolkit:ValidatorCalloutExtender>
            
             <asp:CustomValidator 
                ID= "CV_ＩＤ番号発行日" 
                runat="server" 
                ErrorMessage="" 
                ControlToValidate="txt_ＩＤ番号発行日"  
                ClientValidationFunction="isDate" 
                Display ="None" 
                SetFocusOnError ="false"> 
            </asp:CustomValidator>
             
             <ajaxToolkit:ValidatorCalloutExtender 
                runat="Server" 
                ID="VCE_ＩＤ番号発行日2"
                TargetControlID="CV_ＩＤ番号発行日" 
                HighlightCssClass = "invalid1"
                Width="225px"
                CssClass="CustomValidatorCalloutStyle" 
                WarningIconImageUrl="../Images/warning.png" >
            </ajaxToolkit:ValidatorCalloutExtender>
            
            <asp:CustomValidator 
                ID= "CV_ＩＤ番号発行日1" 
                runat="server" 
                ErrorMessage="" 
                ControlToValidate="txt_ＩＤ番号発行日"  
                ClientValidationFunction="checkdate" 
                Display ="None" 
                SetFocusOnError ="false"> 
            </asp:CustomValidator>
             
            <ajaxToolkit:ValidatorCalloutExtender 
                runat="Server" 
                ID="VCE_ＩＤ番号発行日3"
                TargetControlID="CV_ＩＤ番号発行日1" 
                HighlightCssClass = "invalid2"
                Width="225px"
                CssClass="CustomValidatorCalloutStyle" 
                WarningIconImageUrl="../Images/warning.png" >
            </ajaxToolkit:ValidatorCalloutExtender>
            
            <asp:CustomValidator 
                ID= "CV_ＩＤ番号発行日2" 
                runat="server" 
                ErrorMessage="" 
                ControlToValidate="txt_ＩＤ番号発行日"  
                ClientValidationFunction="CheckDateWith生年月日" 
                Display ="None" 
                SetFocusOnError ="false"> 
            </asp:CustomValidator>
             
            <ajaxToolkit:ValidatorCalloutExtender 
                runat="Server" 
                ID="VCE_ＩＤ番号発行日4"
                TargetControlID="CV_ＩＤ番号発行日2" 
                HighlightCssClass = "invalid3"
                Width="225px"
                CssClass="CustomValidatorCalloutStyle" 
                WarningIconImageUrl="../Images/warning.png" >
            </ajaxToolkit:ValidatorCalloutExtender>
            <span class="required-field"> *</span>
        </div>
        
        <div class="detail-admin-row">
            <span class="detail-admin-label">発行機関 :</span>
            <asp:TextBox 
                CssClass="textbox width2 enter validation"
                ID="txt_発行機関"
                style="ime-mode:active"
                MaxLength="100"
                runat="server" 
                ValidationGroup="detailForm" 
                CausesValidation="True">
            </asp:TextBox>
            
            <asp:RequiredFieldValidator 
                runat="server" 
                ID="RFV_発行機関"
                ControlToValidate="txt_発行機関"
                Display="None"
                SetFocusOnError ="false"
                ErrorMessage="" >
            </asp:RequiredFieldValidator> 
        
            <ajaxToolkit:ValidatorCalloutExtender 
                runat="Server" 
                ID="VCE_発行機関"
                TargetControlID="RFV_発行機関" 
                HighlightCssClass = "invalid"
                Width="240px"
                CssClass="CustomValidatorCalloutStyle" 
                WarningIconImageUrl="../Images/warning.png" >
            </ajaxToolkit:ValidatorCalloutExtender> 
            <span class="required-field"> *</span>
        </div>
        
        <div class="detail-admin-row">
            <span class="detail-admin-label">宗教 :</span>
            <asp:TextBox 
                CssClass="textbox width2 enter validation" 
                ID="txt_宗教" 
                runat="server" 
                style="ime-mode:active"
                MaxLength="100"
                ValidationGroup="detailForm" 
                CausesValidation="True">
            </asp:TextBox>
            
            <asp:RequiredFieldValidator 
                runat="server" 
                ID="RFV_宗教"
                ControlToValidate="txt_宗教"
                Display="None"
                SetFocusOnError ="false"
                ErrorMessage="" >
            </asp:RequiredFieldValidator> 
        
            <ajaxToolkit:ValidatorCalloutExtender 
                runat="Server" 
                ID="VCE_宗教"
                TargetControlID="RFV_宗教" 
                HighlightCssClass = "invalid"
                Width="240px"
                CssClass="CustomValidatorCalloutStyle" 
                WarningIconImageUrl="../Images/warning.png" >
            </ajaxToolkit:ValidatorCalloutExtender> 
            <span class="required-field"> *</span>
        </div>
        
        <div class="detail-admin-row">
            <span class="detail-admin-label">民族 :</span>
            <asp:TextBox 
                CssClass="textbox width2 enter validation"  
                ID="txt_民族" 
                MaxLength="100"
                runat="server" 
                style="ime-mode:active"
                ValidationGroup="detailForm" 
                CausesValidation="True">
            </asp:TextBox>
            
            <asp:RequiredFieldValidator 
                runat="server" 
                ID="RFV_民族"
                ControlToValidate="txt_民族"
                Display="None"
                SetFocusOnError ="false"
                ErrorMessage="" >
            </asp:RequiredFieldValidator> 
        
            <ajaxToolkit:ValidatorCalloutExtender 
                runat="Server" 
                ID="VCE_民族"
                TargetControlID="RFV_民族" 
                HighlightCssClass = "invalid"
                Width="240px"
                CssClass="CustomValidatorCalloutStyle" 
                WarningIconImageUrl="../Images/warning.png" >
            </ajaxToolkit:ValidatorCalloutExtender> 
            <span class="required-field"> *</span>
        </div>
        
        <div class="detail-admin-row">
            <span class="detail-admin-label">最終学歴 :</span>
            <%--<asp:TextBox 
                CssClass="Font_textbox enter validation" 
                ID="txt_最終学歴"
                MaxLength="100"
                runat="server" 
                ValidationGroup="detailForm" 
                CausesValidation="True" 
                Width="120px">
            </asp:TextBox>--%>
            <asp:DropDownList 
                ID="ddl_最終学歴" 
                runat="server" 
                CssClass="dropdownlist width2 enter validation">
                <asp:ListItem Value="-1" Selected="True">[選択]</asp:ListItem>
                <asp:ListItem Value="0" Text="博士"></asp:ListItem>
                <asp:ListItem Value="1" Text="修士"></asp:ListItem>
                <asp:ListItem Value="2" Text="学士"></asp:ListItem>
                <asp:ListItem Value="3" Text="高専"></asp:ListItem>
                <asp:ListItem Value="4" Text="高校"></asp:ListItem>
                <asp:ListItem Value="5" Text="中学"></asp:ListItem>
            </asp:DropDownList>
           <asp:RequiredFieldValidator 
                runat="server" 
                ID="RFV_最終学歴"
                ControlToValidate="ddl_最終学歴"
                Display="None"
                InitialValue="-1"
                SetFocusOnError ="false"
                ErrorMessage="" >
            </asp:RequiredFieldValidator> 
            
            <ajaxToolkit:ValidatorCalloutExtender 
                runat="Server" 
                ID="VCE_最終学歴"
                TargetControlID="RFV_最終学歴" 
                HighlightCssClass = "invalid"
                Width="240px"
                CssClass="CustomValidatorCalloutStyle" 
                WarningIconImageUrl="../Images/warning.png" >
            </ajaxToolkit:ValidatorCalloutExtender> 
            <span class="required-field"> *</span>
        </div>
        
        <br />
        
        <div class="detail-admin-row">  
            <span class="detail-admin-label" style="width:200px">&nbsp;</span>
            <asp:Button 
                ID="btn学歴情報登録"  
                runat="server" 
                Text="学歴情報登録" 
                OnClientClick="javascript:focusToControlErr();"
                CssClass="btn" 
                OnClick="btn学歴情報登録_Click">
            </asp:Button>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           
            <asp:Button 
                ID="btnキャンセル"  
                runat="server" 
                Text="キャンセル" 
                CssClass="btn" 
                CausesValidation="false"
                OnClick="btnキャンセル_Click">
            </asp:Button>
            
         </div>

    </div>
    <div>&nbsp;</div>
    <br /> 
</asp:Content>

